


//
//  FBCell.m
//  FM
//
//  Created by MB__Lee on 2018/4/15.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "FBCell.h"





#define  CELL_HEIGHT 40

@interface FBCell()<UITableViewDelegate>


@end


@implementation FBCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.section == 0) {
        return  SECTION_ONEHeight; //自定义
    }
    
    if (indexPath.section == 1 && indexPath.row == 0) {
        return 0.1;
    }
    
    return  CELL_HEIGHT;
}
-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    if (section == 0) {
        return  0.1;
    }
    
    return  CELL_HEIGHT;
    
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
